package at.ac.tuwien.mg.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SupplierList implements Serializable {	
	private static final long serialVersionUID = -7027262940199858913L;
	
	private ArrayList<Supplier> supplier;

	public SupplierList() {
		supplier = new ArrayList<Supplier>();
		
		List<String> sup1 = new ArrayList<String>();
		sup1.add("Gold");sup1.add("Silver");sup1.add("Stone");
		List<String> sup2 = new ArrayList<String>();
		sup2.add("Gold");sup2.add("Wood");	
		
		Supplier supplier1 = new Supplier("Supplier1","http://localhost:9998/supplier1", "offer", "order", sup1); 
		Supplier supplier2 = new Supplier("Supplier2","http://localhost:9998/supplier2", "offer", "order", sup2); 
		
		supplier.add(supplier1);
		supplier.add(supplier2);
	}

	public List<Supplier> getSupplier() {
		return supplier;
	}

	public void setSupplier(ArrayList<Supplier> supplier) {
		this.supplier = supplier;
	}
}
